package org.dtrd.modules.common.service.impl;

import org.dtrd.modules.common.constant.Dic;
import org.dtrd.modules.common.entity.bean.CodeDataBean;
import org.dtrd.modules.common.service.IDicService;
import org.springframework.stereotype.Service;

/**
 * @Author: QR
 * @Date: 2021/9/26-19:07
 */
@Service
public class DicServiceImpl implements IDicService {

    @Override
    public CodeDataBean getDicData() {
        CodeDataBean codeData = new CodeDataBean();
        // 公共信息
        codeData.setPubGender(Dic.PUB_GENDER);
        // 健康评估
        codeData.setPubEvaluationNeuropathyDiagnose(Dic.PUB_EVALUATION_NEUROPATHY_DIAGNOSE);
        codeData.setPubEvaluationNeuropathy1(Dic.PUB_EVALUATION_NEUROPATHY_1);
        codeData.setPubEvaluationNeuropathy2(Dic.PUB_EVALUATION_NEUROPATHY_2);
        codeData.setPubEvaluationNephropathyDiagnose(Dic.PUB_EVALUATION_NEPHROPATHY_DIAGNOSE);
        codeData.setPubEvaluationNephropathy1(Dic.PUB_EVALUATION_NEPHROPATHY_1);
        codeData.setPubEvaluationNephropathy2(Dic.PUB_EVALUATION_NEPHROPATHY_2);
        codeData.setPubEvaluationRetinopathyDiagnose(Dic.PUB_EVALUATION_RETINOPATHY_DIAGNOSE);
        codeData.setPubEvaluationRetinopathy1(Dic.PUB_EVALUATION_RETINOPATHY_1);
        codeData.setPubEvaluationRetinopathy2(Dic.PUB_EVALUATION_RETINOPATHY_2);
        codeData.setPubEvaluationDiabeticfootDiagnose(Dic.PUB_EVALUATION_DIABETICFOOT_DIAGNOSE);
        codeData.setPubEvaluationDiabeticfoot1(Dic.PUB_EVALUATION_DIABETICFOOT_1);
        codeData.setPubEvaluationDiabeticfoot2(Dic.PUB_EVALUATION_DIABETICFOOT_2);
        codeData.setPubEvaluationDiabeticfoot3(Dic.PUB_EVALUATION_DIABETICFOOT_3);
        codeData.setPubEvaluationSds(Dic.PUB_EVALUATION_SDS);
        codeData.setPubEvaluationSas(Dic.PUB_EVALUATION_SAS);
        codeData.setPubEvaluationSdsca(Dic.PUB_EVALUATION_SDSCA);
        codeData.setPubEvaluationBmq(Dic.PUB_EVALUATION_BMQ);
        codeData.setPubEvaluationMmas8(Dic.PUB_EVALUATION_MMAS8);
        codeData.setPubEvaluationJob(Dic.PUB_EVALUATION_JOB);
        codeData.setPubEvaluationSleep(Dic.PUB_EVALUATION_SLEEP);
        codeData.setPubEvaluationHappy(Dic.PUB_EVALUATION_HAPPY);
        codeData.setPubEvaluationPsychollogy(Dic.PUB_EVALUATION_PSYCHOLOGY);
        codeData.setPubEvaluationPersonality(Dic.PUB_EVALUATION_PERSONALITY);
        codeData.setPubEvaluationMmpi(Dic.PUB_EVALUATION_MMPI);
        return codeData;
    }
}
